updating oE filename

filename

include filesys.e 
namespace filesys 
public function filename(sequence path) 

returns the file name portion of a fully qualified filename.

Parameters:
  1. path : the path from which to extract information
Returns:

A sequence, the file name part of path.

Comments:

The host operating system path separator is used.

Example 1:
fname = filename("/opt/euphoria/docs/readme.txt") 
-- fname is "readme.txt" 
See Also:

pathinfo, filebase, fileext

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu